package com.joolun.weixin.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "上传进度结果类")
public class UploadResultVo {
    @Schema(description = "uuid")
    private String uuid;
    @Schema(description = "视频ID")
    private String videoId;
    @Schema(description = "是否成功")
    private boolean success;
    @Schema(description = "上传者帐号ID")
    private String bid;
    @Schema(description = "播放页地址")
    private String url;

    public UploadResultVo() {
    }

    public UploadResultVo(String uuid, String videoId, boolean success, String bid, String url) {
        this.uuid = uuid;
        this.videoId = videoId;
        this.success = success;
        this.bid = bid;
        this.url = url;
    }
}
